Skip to content

[subaction/get-changes] Add a new subaction to detect bake target changes#472

Draft
jeliebig wants to merge 21 commits into
docker:masterfrom
jeliebig:subaction-detect-target-changes
Draft

[subaction/get-changes] Add a new subaction to detect bake target changes#472
jeliebig wants to merge 21 commits into
docker:masterfrom
jeliebig:subaction-detect-target-changes

Conversation

@jeliebig

@jeliebig jeliebig commented Jul 1, 2026

Copy link
Copy Markdown

This PR adds a new subaction that retrieves all the Bake targets that changed since the last push.
With this subaction you could create workflows which don't need to rebuild every target for every change.

Currently, I'm still working on tests and the changes to subaction/matrix, so it accepts an array of targets.
Once I'm done with that, I'll wait until #466 has been merged and rebase this PR before marking it as ready for review.


Depends on: #466
Closes: #435

jeliebig added 16 commits July 2, 2026 15:38
Signed-off-by: Julian Liebig <julian.liebig@tudock.de>
Signed-off-by: Julian Liebig <julian.liebig@tudock.de>
Signed-off-by: Julian Liebig <julian.liebig@tudock.de>
Signed-off-by: Julian Liebig <julian.liebig@tudock.de>
Signed-off-by: Julian Liebig <julian.liebig@tudock.de>
Signed-off-by: Julian Liebig <julian.liebig@tudock.de>
Signed-off-by: Julian Liebig <julian.liebig@tudock.de>
Signed-off-by: Julian Liebig <julian.liebig@tudock.de>
Signed-off-by: Julian Liebig <julian.liebig@tudock.de>
Signed-off-by: Julian Liebig <julian.liebig@tudock.de>
Signed-off-by: Julian Liebig <julian.liebig@tudock.de>
Signed-off-by: Julian Liebig <julian.liebig@tudock.de>
Signed-off-by: Julian Liebig <julian.liebig@tudock.de>
Signed-off-by: Julian Liebig <julian.liebig@tudock.de>
Signed-off-by: Julian Liebig <julian.liebig@tudock.de>
Signed-off-by: Julian Liebig <julian.liebig@tudock.de>
@jeliebig jeliebig force-pushed the subaction-detect-target-changes branch from d13438b to 3296490 Compare July 2, 2026 14:02
jeliebig added 5 commits July 2, 2026 16:40
Signed-off-by: Julian Liebig <julian.liebig@tudock.de>
Signed-off-by: Julian Liebig <julian.liebig@tudock.de>
Signed-off-by: Julian Liebig <julian.liebig@tudock.de>
Signed-off-by: Julian Liebig <julian.liebig@tudock.de>
Signed-off-by: Julian Liebig <julian.liebig@tudock.de>
@jeliebig jeliebig force-pushed the subaction-detect-target-changes branch from 3296490 to b70798d Compare July 2, 2026 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[subaction/matrix] Generate multiple matrices when targets reference other targets as build contexts

1 participant